package vaccine.appointment.system.vaccine.errorcode;

import vaccine.appointment.system.common.errorcode.ErrorCode;

/**
 * Vaccine 模块的错误码
 * 从 600 开始
 */
public interface VaccineErrorCode {
    ErrorCode VACCINE_NOT_FOUND = new ErrorCode(600, "疫苗不存在");

    ErrorCode VACCINE_NOT_ENOUGH = new ErrorCode(601, "疫苗数量不足");

    ErrorCode VACCINE_NOT_AVAILABLE = new ErrorCode(602, "疫苗不可用");

    ErrorCode VACCINE_ALREADY_EXISTS = new ErrorCode(603, "疫苗已存在");

    ErrorCode VACCINE_NOT_FOUND_IN_HOSPITAL = new ErrorCode(604, "接种点不存在该疫苗");

    ErrorCode VACCINE_IS_USED = new ErrorCode(605, "用户已接种该疫苗，不能重复接种");
}
